﻿namespace EasyWeb.Data
{
    using System;
    using System.Collections.Generic;
    using System.Threading.Tasks;

    public interface IEWSelectionDefinitionDao
    {
        Task<IEnumerable<EWSelectionDefinition>> SelectAsync();
        Task CreateAsync(EWSelectionDefinition definition);
        Task UpdateAsync(EWSelectionDefinition definition);
        Task DeleteAsync(Guid id, byte[] timestamp);
    }
}
